
<template>
  <div>
    <div class="list">
      <router-link to="/index">首页</router-link>
      <router-link to="/class">分类</router-link>
      <router-link to="/order">订单</router-link>
      <router-link to="/my">我的</router-link>
    </div>
    <hr />
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style>
.list{
  display: flex;
  justify-content: space-around;
}
a{
  display: block;
  width: 200px;
  background-color: deepskyblue;
  text-align: center;
}
</style>
